<template>
  <el-container v-cloak>
    <el-row>
      <el-col :span="4">
        <!-- 左边树 -->
        <el-tree :data="diclist" :props="defaultProps" @node-click="dictClick"></el-tree>
      </el-col>
      <el-col :span="20">
        <!-- 右边具体字典 -->
        <div></div>
      </el-col>
    </el-row>
  </el-container>
</template>
<script>
export default {
  mounted() {},
  data() {
    return {
      diclist: [
        {
          title: "行政字典",
          children: []
        }
      ],
      defaultProps: {
        children: "children",
        label: "title"
      }
    };
  },
  methods: {
    dictClick(c) {
      console.log(c);
    }
  },
  layout: "admin"
};
</script>
